package com.simtop.service;

import com.simtop.pojo.wddata.Alarmre;
import com.simtop.pojo.wddata.AlarmreCord;
import com.simtop.vo.TyoeListVo;
import com.simtop.vo.TyoeListVos;

import java.util.ArrayList;
import java.util.List;

public interface AlarmreServer {
    void insertOneAlarmer(AlarmreCord alarmreCord);

    int findByidandtype(int deviceId, String testType);

    AlarmreCord finNewDeviceAlarmre(int deviceId, String testType);

    void insertOnlyOneAlarmre(AlarmreCord alarmerCord);

    List<Alarmre> finOneAlarmre(String column, String order, String alarmTimeBegins, String alarmTimeEnds, String alarmType, Integer alarmManage);

    void deleteStatus(Integer id);


    void deleteStatus2(ArrayList<Integer> sqsyidlist);

    void changeDeviceData(String id, String remark);

    int getOne( int deviceId ,String timenew);

    int countAlarmer1();

    int countAlarmer2();

    List<String> findEverDay();

    List<TyoeListVos> findBytime(String time);

    List<Alarmre> updateExlxDeviceAlarDataAll();

    List<Alarmre> findalarmreServer(ArrayList<Integer> sqsyidlist);

    int findOne(String as);

    int findTwo(String as);

    int findThree(String as);

    int findFor(String as);

    void deleteOneAlarmres(String alarmTimeBegins, String alarmTimeEnds, String alarmType, Integer alarmManage);

    void deletename(String deviceName1);

    void deletename2(String deviceName1);

    void deleteAlarmres(String alarmTimeBegins, String alarmTimeEnds, String deviceNumber, String testType);
}
